package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class YaoPlanInVO {

    private Long id;

    @Schema(description = "用药名称")
    @NotBlank(message = "请输入用药名称")
    private String medication;

    @Schema(description = "药品id")
//    @NotBlank(message = "请输入药品id")
    private String medicationIdent;

    @Schema(description = "医嘱类型 长期 临时 备用")
//    @NotBlank(message = "请输入医嘱类型")
    private String conditionIdent;

    @Schema(description = "用药频次")
//    @NotBlank(message = "请输入用药频次")
    private String repeatIdent;

    @Schema(description = "是否是主药品1是0否")
    private Integer isMaster;

    @Schema(description = "药品规格")
    @NotBlank(message = "请输入药品规格")
    private String spec;

    @Schema(description = "一次剂量")
//    @NotBlank(message = "请输入一次剂量")
    private String amount;

    @Schema(description = "一次剂量单位")
//    @NotBlank(message = "请输入一次剂量单位")
    private String amountUnit;

    @Schema(description = "打印剂量")
    @NotBlank(message = "请输入打印剂量")
    private String dyAmount;

    @Schema(description = "打印剂量单位")
    @NotBlank(message = "请输入打印剂量单位")
    private String dyAmountUnit;

    @Schema(description = "液体量")
    @NotNull(message = "请输入液体量")
    private BigDecimal ytCount;

    @Schema(description = "单签名")
    private String signature1;


    @Schema(description = "执行状态")
    private String exeStatus;

    @Schema(description = "双签名")
    private String signature2;

    @Schema(description = "备注")
    private String remarks;

}
